package com.groupbuying.cheetah.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.cheetah.dao.CheetahOrderStoremoneyflowDao;
import com.groupbuying.cheetah.domain.CheetahOrderStoremoneyflowDO;
import com.groupbuying.cheetah.service.CheetahOrderStoremoneyflowService;



@Service
public class CheetahOrderStoremoneyflowServiceImpl implements CheetahOrderStoremoneyflowService {
	@Autowired
	private CheetahOrderStoremoneyflowDao cheetahOrderStoremoneyflowDao;
	
	@Override
	public CheetahOrderStoremoneyflowDO get(String orderid){
		return cheetahOrderStoremoneyflowDao.get(orderid);
	}
	
	@Override
	public List<CheetahOrderStoremoneyflowDO> list(Map<String, Object> map){
		return cheetahOrderStoremoneyflowDao.list(map);
	}

	@Override
	public List<CheetahOrderStoremoneyflowDO> getOrderStoremoneyflowDOList(String orderId){
		return cheetahOrderStoremoneyflowDao.getOrderStoremoneyflowDOList(orderId);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return cheetahOrderStoremoneyflowDao.count(map);
	}
	
	@Override
	public int save(CheetahOrderStoremoneyflowDO cheetahOrderStoremoneyflow){
		return cheetahOrderStoremoneyflowDao.save(cheetahOrderStoremoneyflow);
	}

	@Override
	public int saveList(List<CheetahOrderStoremoneyflowDO> cheetahOrderStoremoneyflowList) {
		return cheetahOrderStoremoneyflowDao.saveList(cheetahOrderStoremoneyflowList);
	}

	@Override
	public int update(CheetahOrderStoremoneyflowDO cheetahOrderStoremoneyflow){
		return cheetahOrderStoremoneyflowDao.update(cheetahOrderStoremoneyflow);
	}
	
	@Override
	public int remove(String orderid){
		return cheetahOrderStoremoneyflowDao.remove(orderid);
	}
	
	@Override
	public int batchRemove(String[] orderids){
		return cheetahOrderStoremoneyflowDao.batchRemove(orderids);
	}
	
}
